package com.example.springboot.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@TableName("sys_goods")
@ApiModel(value = "Goods对象", description = "")
@ToString
public class Goods {
    private static final long serialVersionUID = 1L;

    /**
     * goods_id
     */
    @ApiModelProperty("goods_id")
    @TableId(value = "goods_id", type = IdType.AUTO)
    private Integer goodsId;

    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    private String goodsName;

    /**
     * 商品详情
     */
    @ApiModelProperty("商品详情")
    private String goodsDetail;

    /**
     * 商品进价
     */
    @ApiModelProperty("商品进价")
    private Integer goodsBid;

    /**
     * 商品售价
     */
    @ApiModelProperty("商品售价")
    private Integer goodsPrice;

    /**
     * 商品已售
     */
    @ApiModelProperty("商品已售")
    private Integer goodsSold;

    /**
     * 商品库存
     */
    @ApiModelProperty("商品库存")
    private Integer goodsStock;

    /**
     * 商品图片
     */
    @ApiModelProperty("商品图片")
    private String goodsImg;

    /**
     * 商品类型
     */
    @ApiModelProperty("商品类型")
    private String goodsType;

    /**
     * 商品状态
     */
    @ApiModelProperty("商品状态")
    private Boolean goodsState;



}
